//
//  PywCommonMBProgressHUD+PywCommon.h
//  PywCommonSDKDemo
//
//  Created by Ampaw on 2017/8/12.
//  Copyright © 2017年 Ampaw. All rights reserved.
//

#import "PywCommonMBProgressHUD.h"

@interface PywCommonMBProgressHUD (PywCommon)

+ (PywCommonMBProgressHUD *)showMessage:(NSString *)message;
+ (PywCommonMBProgressHUD *)showMessage:(NSString *)message toView:(UIView *)view;

+ (void)showError:(NSString *)error;
+ (void)showError:(NSString *)error toView:(UIView *)view;

+ (void)showSuccess:(NSString *)success;
+ (void)showSuccess:(NSString *)success toView:(UIView *)view;

+ (void)hideHUDForView:(UIView *)view;
+ (void)hideHUD;

@end
